<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>MD5加密</title>
</head>
<body>
<p id="h1"><p/>
<p id="h2"><p/>

<script src="js/lib/md5.min.js"></script>
<script>
    var str='15923434332234abcdefgh145api/user/login iuwrerwerewsdfdsf';
    document.getElementById('h1').innerHTML='加密前：'+str;
    document.getElementById('h2').innerHTML='加密后：'+md5(str).toUpperCase();
</script>
</body>
</html>